import z from "zod";
import i18n from "@/i18n";

export const DeleteAccountSchema = () =>
  z.object({
    password: z.string().min(1, {
      message: i18n.t("Password is required", {
        defaultValue: "Password is required",
      }),
    }),
  });

export type DeleteAccountFormData = z.infer<ReturnType<typeof DeleteAccountSchema>>;
